package logs

import (
	log "github.com/sirupsen/logrus"
)

var Logger *log.Logger

func InitLogger() {
	Logger = log.New()
	Logger.SetLevel(log.DebugLevel)
	Logger.SetFormatter(&log.TextFormatter{
		ForceQuote:      true,                  //键值对加引号
		TimestampFormat: "2006-01-02 15:04:05", //时间格式
		FullTimestamp:   true,
	})

}
